/*
 * Videodata.h
 *
 *  Created on: 2010-03-23
 *      Author: kamil
 */

#ifndef VIDEODATA_H_
#define VIDEODATA_H_

#include <string>
#include <boost/serialization/access.hpp>

/**
 * Main video data structure, for one gazebo model
 */
class Videodata {
public:
	///x position
	double x;
	///y position
	double y;
	///rotation in radians
	double rot;
	///x velocity
	double vx;
	///y velocity
	double vy;

	friend class boost::serialization::access;
	template<class Archive>
	void serialize(Archive & ar, const unsigned int version)
	{
		ar & x;
		ar & y;
		ar & rot;
		ar & vx;
		ar & vy;
	}
};

#endif /* VIDEODATA_H_ */
